package com.godfan.domain;

public class Student {
    private Integer sid;
    private String name;
    private Integer age;
    private String birthday;

    public Student() {
    }

    public Student(Integer sid,String name, Integer age, String birthday) {
        this.sid=sid;
        this.name = name;
        this.age = age;
        this.birthday = birthday;
    }

    public Integer getId() {
        return sid;
    }

    public void setId(Integer id) {
        this.sid = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getbirthday() {
        return birthday;
    }

    public void setDate(String birthday) {
        this.birthday = birthday;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + sid +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", date='" + birthday + '\'' +
                '}';
    }
}
